import request from '../../utils/request'

export function initRecStu(page) {
  return request({
    url: '/recruit-stu/get/' + page,
    method: 'get'
  })
}

export function editRecStu(recruitStu) {
  return request({
    url: '/recruit-stu/update',
    method: 'post',
    data: recruitStu
  })
}

export function getByName(name,page) {
  return request({
    url: '/recruit-stu/getName/'+ name + '/' + page,
    method: 'get'
  })
}
